<template>
	<view class="box">
		<view class="ConSale">
			<image src="../../../static/images/Tp4.png" mode="" class="img"></image>
			<view class="Sale">
				<image src="/static/images/Tb2.svg" mode=""></image>
				<text>已售罄</text>
			</view>
		</view>
		<view class="name">
			对方不想和你说话并拿了一个墨墨姐
		</view>
		<view class="deta">
			<view>
				<view class="quantity">
					<text>限量</text>
					<text>2022份</text>
				</view>
				<view class="type">
					<image src="../../../static/images/Tp5.png" mode=""></image>
					<text>元气艺术</text>
				</view>
			</view>
			<text>￥99</text>
		</view>
	</view>
</template>

<script>
</script>

<style scoped lang="scss">
	.box{
		box-shadow: 2rpx 10rpx 10rpx #1d1e1f, -2rpx 10rpx 10rpx #1d1e1f;
		border-radius: 0 0 20rpx 20rpx;
	}
	.ConSale{
		background-image: url(/static/images/Tp3.png);
		background-size: cover;
		width: 100%;
		height: 556rpx;
		overflow: hidden;
		margin-top: 40rpx;
		overflow: hidden;
		position: relative;
		background-color: white;
		border-radius: 32rpx 32rpx 0 0;
	}
	.img{
		width: 500rpx;
		height: 546rpx;
		position: absolute;
		inset: 0;
		margin: auto;
	}
	.Sale{
		width: 162rpx;
		height: 64rpx;
		background-color: #883bea;
		border-radius: 64rpx 0 0 64rpx;
		display: flex;
		justify-content: space-evenly;
		align-items: center;
		position: absolute;
		right: 0;
		bottom: 130rpx;
	}
	.Sale image{
		width: 32rpx;
		height: 32rpx;
	}
	.Sale text{
		color: white;
		font-size: 28rpx;
	}
	.name{
		color: white;
		height: 44rpx;
		font-size: 32rpx;
		margin-top: 16rpx;
		margin-bottom: 20rpx;
		margin-left: 10rpx;
	}
	.deta{
		display: flex;
		justify-content: space-between;
		margin-left: 16rpx;
		margin-right: 4rpx;
		padding-bottom: 15rpx;
	}
	.deta>text{
		font-size: 56rpx;
		color: white;
	}
	.quantity{
		display: flex;
		align-items: center;
	}
	.quantity text:nth-child(1){
		background-color: #eddfbc;
		font-size: 24rpx;
		padding: 0 10rpx;
	}
	.quantity text:nth-child(2){
		background-color: #44454b;
		font-size: 24rpx;
		color: #eddfbc;
		padding: 0 20rpx;
	}
	.type{
		display: flex;
		align-items: end;
		margin-top: 10rpx;
	}
	.type image{
		width: 32rpx;
		height: 32rpx;
	}
	.type text{
		font-size: 24rpx;
		color: white;
		margin-left: 6rpx;
	}
</style>
